<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 行内样式
    <input type="button" value="点我一下" onclick="alert('唯有热爱，恒常如新')"> -->
     
    <!-- 内部样式
    <script>
        alert("唯有热爱，恒常如新");
    </script> -->
    
    <!-- 外部样式
    <script src="hello.js"></script> -->

    <!-- 变量声明
    var name='zhangsan';
    les name='zhangsan';
    const name='zhangsan'; -->
</body>
</html>